Packetery\Module\Plugin B

Total Complexity 87
Dependencies 69
Dependents 12
Total lines 1,055
Lines of code 487
Logical lines of code 257
Comment lines 161
Methods 28
Properties 34

Methods 28

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
B
35 21 76
renderEmailFooter()
A
44 8 46
run()
A
37 4 79
handleActions()
S
59 5 15
renderOrderDetail()
S
51 4 28
renderDeliveryDetail()
S
47 3 36
uninstall()
S
56 4 17
shouldHidePacketaInfo()
S
73 4 4
hideSubmenuItem()
S
63 4 10
__construct()
S
47 1 36
createLinkParts()
S
63 3 10
echoInactiveWooCommerceNotice()
S
61 2 14
renderConfirmModalTemplate()
S
60 2 14
shouldDisplayPickupPointInfo()
S
79 2 3
getLocale()
S
69 2 7
declareWooCommerceCompability()
S
70 2 6
addPluginRowMeta()
S
64 2 9
loadTranslation()
S
63 2 10
enqueueFrontAssets()
S
66 2 8
buildAssetUrl()
S
65 2 8
add_menu_pages()
S
70 1 7
isWooCommercePluginActive()
S
80 1 3
init()
S
65 1 10
addPluginActionLinks()
S
66 1 7
enqueueStyle()
S
67 1 8
add_shipping_method()
S
76 1 4
enqueueScript()
S
66 1 9
getAppIdentity()
S
77 1 3